package dao;

import java.util.List;

import vo.GoodsInfo;

public interface IGoodsDAO {
	public List getGoods(int page, int rows);

	public void addGoods(GoodsInfo goodsinfo);

	public void deleteGoods(GoodsInfo goodsinfo);

	public void updateGoods(GoodsInfo goodsinfo);

	public GoodsInfo findGoodsById(int GId);

	public List searchGoods(String hql);

	public int getTotalNum();
}
